package com.example.wlzz.service;

import com.example.wlzz.entity.User_;
import com.example.wlzz.form.RegisterForm;
import com.example.wlzz.form.UserForm;
import com.example.wlzz.vo.ResultVO;

import java.util.List;

public interface UserService {
    ResultVO register(UserForm userForm);
    ResultVO login(RegisterForm userForm);
    User_ findByUserId(Integer userId);
    User_ findByPhoneAndPassword(String phone, String password);
    User_ findByPhone(String phone);
    User_ save(User_ user);
}
